<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta id="MobileViewport" name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <link href="/jinghuan.mobile3.css" rel="stylesheet">
    <link href="/ysw.mobile.css" rel="stylesheet">
    <!--测试环境屏蔽一下配置 正式环境中由该链接提供聊天服务配置 或 跳转授权页面-->
    <!--<script src="/ysw/weixin_access/"></script>-->
</head>
<body class="">
<div id="react" class="wrapper"></div>
<script>
    window.SERVER_ROOT = "http://127.0.0.1/";
    window.SERVER_URL = window.SERVER_ROOT + "ysw/api/";
    window.WEIXIN_CONFIG_URL = window.SERVER_ROOT + "ysw/weixin_access/wx_config";
    window.RESOURCE_URL = 'http://127.0.0.1/source/ysw/';
    window.AJAX_CONTENT_TYPE = 'application/x-www-form-urlencoded;charset=utf-8';
    window.AJAX_HEADERS = {};
    window.bootstar = 'ysw.mobile';

    /**
     * 一下配置在正式环境中由 /ysw/weixin_access/ 链接授权后提供
     * 正式环境删除一下内容
     */
    if (window.location.pathname.indexOf('ysw/mobile/cust') > 0) {
        //测试经销商
        window.CHAT_SERVER = "ws://127.0.0.1:8410/cust/610101112670?v=1.0";
    }

    if (window.location.pathname.indexOf('ysw/mobile/slsman') > 0) {
        // 测试客户经理
        window.CHAT_SERVER = "ws://127.0.0.1:8410/slsman/1161011200000029?v=1.0";
    }

    if (window.location.pathname.indexOf('ysw/mobile/service') > 0) {
        // 测试营销客服
        window.CHAT_SERVER = "ws://127.0.0.1:8410/service/o26lttyHzLtAtCTL5w9WGUKtZSt8?v=1.0";
    }

</script>
<script type="text/javascript" src="/debug.js"></script>
<script type="text/javascript" src="/runtime.js"></script>
<script type="text/javascript" src="/jquery.js"></script>
<script type="text/javascript" src="/react.development.js"></script>
<script type="text/javascript" src="/react-dom.development.js"></script>
<script type="text/javascript" src="/jinghuan.knex.js"></script>
<script type="text/javascript" src="/jinghuan.mobile3.js"></script>
<script type="text/javascript" src="/ysw.mobile.js"></script>
</body>
</html>
